/**
 * 部门查看js
 */
var questionLook={
	key:null,
	init:function(){
		
		var id = art.dialog.data('lokId');
		questionLook.key = id+"_question_Key"
		var question = eval('(' + localStorage.getItem(questionLook.key) + ')');
		var cts = getSmpFormatDateByLong(question.cts);
		$("#question").val(question.question);
		$("#selection1").val(question.answer[0]);
		$("#selectionVal1").val(question.value[0]);
		$("#selection2").val(question.answer[1]);
		$("#selectionVal2").val(question.value[1]);
		$("#selection3").val(question.answer[2]);
		$("#selectionVal3").val(question.value[2]);
		$("#selection4").val(question.answer[3]);
		$("#selectionVal4").val(question.value[3]);
		$("#selection5").val(question.answer[4]);
		$("#selectionVal5").val(question.value[4]);
		$("#selection6").val(question.answer[5]);
		$("#selectionVal6").val(question.value[5]);
	}
}
$(document).ready(function() {
	questionLook.init();
});